home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10167 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  782 b 

  1. Path: cpsc.ucalgary.ca!kaye
  2. From: kaye@cpsc.ucalgary.ca (Douglas Kaye)
  3. Newsgroups: comp.unix.programmer,comp.lang.c
  4. Subject: getting window sizes into c code
  5. Date: 15 Mar 1996 21:21:21 GMT
  6. Organization: University of Calgary CPSC
  7. Message-ID: <4icn0h$aod@linux.cpsc.ucalgary.ca>
  8. NNTP-Posting-Host: jb.cpsc.ucalgary.ca
  9.  
  10. Does anyone know how I can get the number of rows and columns 
  11. in a window into a piece of C code I am writting. I can't use 
  12. getenv LINES (or COLS) becuase that just gets the size that 
  13. the windows originally were, and I have to take int account 
  14. resizing. 
  15.  
  16. btw I am running this in csh on SunOS Release 4.1.4
  17.  
  18. Thanks alot, 
  19.  
  20. Doug Kaye
  21. kaye@cpsc.ucalgary.ca
  22. http://www.cpsc.ucalgary.ca/~kaye
  23. -- 
  24. Doug Kaye
  25. kaye@cpsc.ucalgary.ca
  26. http://www.cpsc.ucalgary.ca/~kaye
  27.